// Copyright (c) MatrixFramework. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using System.Threading.Tasks;

namespace MatrixFramework.Keycloak.Abstractions.Services;

/// <summary>
/// 租户解析器接口
/// </summary>
public interface ITenantResolver
{
    /// <summary>
    /// 解析当前租户
    /// </summary>
    /// <returns>租户信息</returns>
    Task<string?> ResolveTenantAsync();
}